//
//  Constants.h
//  MemberProject
//
//  Created by MAC OS X on 15/4/2.
//  Copyright (c) 2015年 MAC OS X. All rights reserved.
//

#ifndef MemberProject_Constants_h
#define MemberProject_Constants_h

//#define localHost @"http://59.38.250.237:18080/prjv-m/api"
//#define localHost @"https://sh.qnzyz.org.cn/prjv-m/api"
//#define localHost @"https://m.qnzyz.org.cn/prjv-m"
//#define localHost @"http://172.16.1.10:8080/prjv-m"
//#define localHost @"http://192.168.1.10:18080/prjv-m"
//#define localHost @"https://172.16.1.10:8443/prjv-m/"
#define localHost @"http://192.168.1.11:8080/prjv-m"

//#define localHost @"https://m.qnzyz.org.cn/prjv-m"

//#define localHost @http://172.16.1.11:14162/prjv-m/api

//#define localHost @"http://58.252.106.168:18080/prjv-m"
#define apiHost [localHost stringByAppendingPathComponent:@"api"]

#define shareDefaultImageUrl @"https://m.qnzyz.org.cn/prjv-web/images/qnzyz_logo.png"

#define showDefaultImageUrl @"https://m.qnzyz.org.cn/prjv-web/images/qnzyz_logo.png"
#ifdef DEBUG
#   define CSLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__)
#else
#   define CSLog(...)
#endif

#define SCREEN_WIDTH  [[UIScreen mainScreen] bounds].size.width
#define SCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height

#define AdWidth 310
#define AdHeight 80

#define BuaatVolunteerSDKClientId @"1234567"
//#define BuaatVolunteerSDKClientId @"1001"
#define BuaatVolunteerSDKPublicKey @"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqSsIXjbTPg0zS2Rdq8ZMn5G3A4fT4FujtzXRpeO0hz23jnN6tFQkHTrjDxa3o4V1awS5HocNneD+9itv110oqVny31XXkjq9m14kBVmnQSUQG2vIDdoFRxwcyDFLDO4+44SDWwJgYfuLt21C50RDGugFwer2OdHvafDGtdt5kSQIDAQAB"

/*
   NSUserDefaults内容
*/
//是否已经登录
#define ISAlreadyLogin         @"ISAlreadyLogin"
#define loginYES               @"loginYES"
#define loginNO                @"loginNO"

//NSNotification
#define NotificationLoginChangeInfo   @"NotificationLoginChangeInfo"  //登录后刷新内容

#define NotificationLoginOut     @"NotificationLoginOut"              //登出

#define NotificationRefreshUserInfo   @"NotificationRefreshUserInfo"  //更新用户信息

#define NotificationDelUserInfo       @"NotificationDelUserInfo"      //删除用户信息

#define NotificationPopGroupInfo      @"NotificationPopGroupInfo"     //返回添加组织机构信息

#define ClaimSuccessNotification      @"ClaimSuccessNotification"     //返回修改理赔结果

#define NotificationUserPositionDidChange @"NotificationUserPositionDidChange"
//key
#define KUserPosition @"KUserPosition"

#define KAppRefreshDateStr_Home @"KAppRefreshAdDateStr_Home"
#define KAppRefreshDateStr_Me @"KAppRefreshAdDateStr_Me"

#define classicalGREEN    [UIColor colorWithRed:90/255.0 green:204/255.0 blue:181/255.0 alpha:1]

#import "BaseNavigationController.h"
#import "SVProgressHUD.h"
#import "UserInsuranceManager.h"


#endif
